<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head th:replace="_fragments::head(~{::title})">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>首页</title>
</head>
<body>
<div class="snow-container"></div>
<!--导航-->
<nav th:replace="_fragments::menu(1)" class="ui inverted attached segment m-padded-tb-mini " >
    <div class="ui container ">
        <div class="ui inverted secondary stackable menu">
            <h2 class="ui teal header item">Blog</h2>
            <a href="" class="m-item item m-mobile-hidden"><i class="home icon"></i> 首页</a>
            <a href="" class="m-item item m-mobile-hidden"><i class="folder outline icon"></i> 分类</a>
            <a href="" class="m-item item m-mobile-hidden"><i class="tags icon"></i> 标签</a>
            <a href="" class="m-item item m-mobile-hidden"><i class="clone icon"></i> 归档</a>
            <a href="" class="m-item item m-mobile-hidden"><i class="info icon"></i> 关于我</a>
            <div class="right m-item item m-mobile-hidden">
                <div class="ui icon input">
                    <input type="text" placeholder="亲亲在这儿搜索">
                    <i class="search link icon"></i>
                </div>
            </div>
        </div>
    </div>
<a href="#" class="ui menu toggle black icon button m-top-right m-mobile-show">
    <i class="sidebar icon"></i>

</a>
</nav>

<!--中间内容-->
<div  class="m-container1 m-padded-tb-big">
    <div class="ui container">
        <div class="ui stackable grid">
          <!--左边占八列-->
            <div class="eight wide column">
<div class="ui top attached segment">
    <!--左边头部-->
    <div class="ui middle aligned two column grid animate__animated animate__backInRight">
        <div class="column">
            <h3 class ="ui purple header">李歪歪的博客</h3>
        </div>
        <div class="right aligned column">
            共<h3 class="ui pink header m-inline" th:text="${page.totalElements}">11</h3>篇
        </div>
    </div>
</div>
<!--左边中间内容，和上面接壤-->
                <div class="ui attached segment">

                    <div class="ui padded vertical segment m-padded-tb-large"  th:each="blog : ${page.content}">
                        <div class="ui middle aligned mobile reversed stackable grid">
                            <div class="eleven wide column">


                                <h3 class="ui header"><a href="#" th:href="@{/blog/{id}(id=${blog.id})}" target="_blank" class="m-black" th:text="${blog.title}">
                                    你真的理解什么是财富自由吗?</a></h3>
                                <p th:text="|${blog.description}......|">
                                    人生就像一次旅行，坐上火车，终点谁也不知道。但是在中间的过程中，
                                    会有很多人来来回回的上车下车，这些人中，有自己的亲人朋友，当然，还有陌生人。

                                </p>
                                <div class="ui grid">

                                    <div class="twelve wide column">

                                        <div class="ui  horizontal link list">
                                            <div class="item">
                                                <img src="https://picsum.photos/id/1043/400/600" th:src="@{${blog.user.avatar}}" alt="" class="ui avatar image">
                                                <div class="content"><a href="#" class="header" th:text="${blog.user.nickname}">李yy</a> </div>
                                            </div>
                                            <div class="item">
                                                <i class="calendar icon"></i><span th:text="${#dates.format(blog.updateTime,'yyyy-MM-dd')}">
                                                  2020-12-12
                                            </span>

                                            </div>

                                            <div class="item">
                                                <i class="eye icon"></i><span th:text="${blog.views}">2342</span>
                                            </div>

                                        </div>
                                    </div>
                                    <div class="right aligned four wide column">
                                        <a href="" target="_blank" class="ui teal basic label m-padding" th:text="${blog.type.name}">认知升级</a>
                                    </div>
                                </div>
                            </div>
                            <div class="five wide column">

                                <a href="" th:href="@{/blog/{id}(id=${blog.id})}"  target="_blank">
                                    <img src="https://picsum.photos/id/1043/850/600" alt="" th:src="@{${blog.firstPicture}}" class="ui rounded image">
                                </a>
                            </div>

                        </div>
                    </div>

                    <!--/*-->
                    <div class="ui padded vertical segment m-padded-tb-big">
                        <div class="ui mobile reversed stackable grid">
                            <div class="eleven wide column">


                                <h3 class="ui header">理解什么是财富自由</h3>
                                <p>
                                    人生就像一次旅行，坐上火车，终点谁也不知道。但是在中间的过程中，
                                    会有很多人来来回回的上车下车，这些人中，有自己的亲人朋友，当然，还有陌生人。

                                </p>
                                <div class="ui grid">

                                    <div class="twelve wide column">

                                        <div class="ui horizontal link list">
                                            <div class="item">
                                                <img src="../static/images/4.jpg" alt="" class="ui avatar image">
                                                <div class="content"><a href="" class="header">李yy</a> </div>
                                            </div>
                                            <div class="item">
                                                <i class="calendar icon"></i>2020-12-12
                                            </div>

                                            <div class="item">
                                                <i class="eye icon"></i>112
                                            </div>

                                        </div>
                                    </div>
                                    <div class="right aligned four wide column">
                                        <a href="" target="_blank" class="ui teal basic label m-padding">认知升级</a>
                                    </div>
                                </div>
                            </div>
                            <div class="five wide column">

                                <a href="" target="_blank">
                                    <img src="../static/images/4.jpg" alt="" class="ui rounded image">
                                </a>
                            </div>

                        </div>
                    </div>
                    <div class="ui padded vertical segment m-padded-tb-big">
                        <div class="ui mobile reversed stackable grid">
                            <div class="eleven wide column">


                                <h3 class="ui header">理解什么是财富自由</h3>
                                <p>
                                    人生就像一次旅行，坐上火车，终点谁也不知道。但是在中间的过程中，
                                    会有很多人来来回回的上车下车，这些人中，有自己的亲人朋友，当然，还有陌生人。

                                </p>
                                <div class="ui grid">

                                    <div class="twelve wide column">

                                        <div class="ui horizontal link list">
                                            <div class="item">
                                                <img src="../static/images/4.jpg" alt="" class="ui avatar image">
                                                <div class="content"><a href="" class="header">李yy</a> </div>
                                            </div>
                                            <div class="item">
                                                <i class="calendar icon"></i>2020-12-12
                                            </div>

                                            <div class="item">
                                                <i class="eye icon"></i>112
                                            </div>

                                        </div>
                                    </div>
                                    <div class="right aligned four wide column">
                                        <a href="" target="_blank" class="ui teal basic label m-padding">认知升级</a>
                                    </div>
                                </div>
                            </div>
                            <div class="five wide column">

                                <a href="" target="_blank">
                                    <img src="../static/images/4.jpg" alt="" class="ui rounded image">
                                </a>
                            </div>

                        </div>
                    </div>
                    <div class="ui padded vertical segment m-padded-tb-big">
                        <div class="ui mobile reversed stackable grid">
                            <div class="eleven wide column">


                                <h3 class="ui header">理解什么是财富自由</h3>
                                <p>
                                    人生就像一次旅行，坐上火车，终点谁也不知道。但是在中间的过程中，
                                    会有很多人来来回回的上车下车，这些人中，有自己的亲人朋友，当然，还有陌生人。

                                </p>
                                <div class="ui grid">

                                    <div class="twelve wide column">

                                        <div class="ui horizontal link list">
                                            <div class="item">
                                                <img src="../static/images/4.jpg" alt="" class="ui avatar image">
                                                <div class="content"><a href="" class="header">李yy</a> </div>
                                            </div>
                                            <div class="item">
                                                <i class="calendar icon"></i>2020-12-12
                                            </div>

                                            <div class="item">
                                                <i class="eye icon"></i>112
                                            </div>

                                        </div>
                                    </div>
                                    <div class="right aligned four wide column">
                                        <a href="" target="_blank" class="ui teal basic label m-padding">认知升级</a>
                                    </div>
                                </div>
                            </div>
                            <div class="five wide column">

                                <a href="" target="_blank">
                                    <img src="../static/images/4.jpg" alt="" class="ui rounded image">
                                </a>
                            </div>

                        </div>
                    </div>
                    <div class="ui padded vertical segment m-padded-tb-big">
                        <div class="ui mobile reversed stackable grid">
                            <div class="eleven wide column">


                                <h3 class="ui header">理解什么是财富自由</h3>
                                <p>
                                    人生就像一次旅行，坐上火车，终点谁也不知道。但是在中间的过程中，
                                    会有很多人来来回回的上车下车，这些人中，有自己的亲人朋友，当然，还有陌生人。

                                </p>
                                <div class="ui grid">

                                    <div class="twelve wide column">

                                        <div class="ui horizontal link list">
                                            <div class="item">
                                                <img src="../static/images/4.jpg" alt="" class="ui avatar image">
                                                <div class="content"><a href="" class="header">李yy</a> </div>
                                            </div>
                                            <div class="item">
                                                <i class="calendar icon"></i>2020-12-12
                                            </div>

                                            <div class="item">
                                                <i class="eye icon"></i>112
                                            </div>

                                        </div>
                                    </div>
                                    <div class="right aligned four wide column">
                                        <a href="" target="_blank" class="ui teal basic label m-padding">认知升级</a>
                                    </div>
                                </div>
                            </div>
                            <div class="five wide column">

                                <a href="" target="_blank">
                                    <img src="../static/images/4.jpg" alt="" class="ui rounded image">
                                </a>
                            </div>

                        </div>
                    </div>
                    <div class="ui padded vertical segment m-padded-tb-big">
                        <div class="ui mobile reversed stackable grid">
                            <div class="eleven wide column">


                                <h3 class="ui header">理解什么是财富自由</h3>
                                <p>
                                    人生就像一次旅行，坐上火车，终点谁也不知道。但是在中间的过程中，
                                    会有很多人来来回回的上车下车，这些人中，有自己的亲人朋友，当然，还有陌生人。

                                </p>
                                <div class="ui grid">

                                    <div class="twelve wide column">

                                        <div class="ui horizontal link list">
                                            <div class="item">
                                                <img src="../static/images/4.jpg" alt="" class="ui avatar image">
                                                <div class="content"><a href="" class="header">李yy</a> </div>
                                            </div>
                                            <div class="item">
                                                <i class="calendar icon"></i>2020-12-12
                                            </div>

                                            <div class="item">
                                                <i class="eye icon"></i>112
                                            </div>

                                        </div>
                                    </div>
                                    <div class="right aligned four wide column">
                                        <a href="" target="_blank" class="ui teal basic label m-padding">认知升级</a>
                                    </div>
                                </div>
                            </div>
                            <div class="five wide column">

                                <a href="" target="_blank">
                                    <img src="../static/images/4.jpg" alt="" class="ui rounded image">
                                </a>
                            </div>

                        </div>
                    </div>
                    <div class="ui padded vertical segment">
                    <div class="ui mobile reversed stackable grid">
                        <div class="eleven wide column">


                            <h3 class="ui header">理解什么是财富自由</h3>
                            <p>
                                人生就像一次旅行，坐上火车，终点谁也不知道。但是在中间的过程中，
                                会有很多人来来回回的上车下车，这些人中，有自己的亲人朋友，当然，还有陌生人。

                            </p>
                            <div class="ui grid">

                                <div class="twelve wide column">

                                    <div class="ui horizontal link list">
                                        <div class="item">
                                            <img src="../static/images/4.jpg" alt="" class="ui avatar image">
                                            <div class="content"><a href="" class="header">李yy</a> </div>
                                        </div>
                                        <div class="item">
                                            <i class="calendar icon"></i>2020-12-12
                                        </div>

                                        <div class="item">
                                            <i class="eye icon"></i>112
                                        </div>

                                    </div>
                                </div>
                                <div class="right aligned four wide column">
                                    <a href="" target="_blank" class="ui teal basic label m-padding">认知升级</a>
                                </div>
                            </div>
                        </div>
                        <div class="five wide column">

                            <a href="" target="_blank">
                                <img src="../static/images/4.jpg" alt="" class="ui rounded image">
                            </a>
                        </div>

                    </div>
                </div>
                    <!--*/-->
                </div>
                <!--左边底部和中间接壤下一页上一页-->
                <div class="ui bottom attached segment" th:if="${page.totalPages}>1"  >
                    <div class="ui middle aligned two column grid">
                        <div class="column">
                            <a href="#" th:href="@{/(page=${page.number}-1)}"  th:unless="${page.first}" class="ui inverted violet button" >上一页</a>
                        </div>
                        <div class="right aligned column">
                             <a href="#" th:href="@{/(page=${page.number}+1)}"  th:unless="${page.last}" class="ui inverted blue button">下一页</a>
                        </div>
                    </div>
                </div>
            </div>

     <!--中间占五列-->
            <div class="four wide column ">
                <div class="ui pink inverted segment "><a class="ui blue ribbon label"></a>
    <p class="m-text-p">螃蟹在剥我的壳<br>
        笔记本在写我<br>
        漫天的我落在枫叶上雪花上<br>
        而你在想我

    </p>

</div>
                <div class="ui purple inverted segment "><a class="ui orange right ribbon label"></a>
                    <p class="m-text-p">我喜欢你<br>
                        第一行是假的<br>
                        第二行也是假的<br>


                    </p>

                </div>
                <div class="iu segment">
                        <iframe frameborder="no" border="0" marginwidth="0"
                                marginheight="0" width=100% height=86 src="//music.163.com/outchain/player?type=2&id=1422004391&auto=1&height=66"></iframe>
                </div>
                <div class="ui blue inverted segment">
                    <a class="ui red left corner label">
                        <i class="heart icon"></i></a>

                    <p class="m-text-p">自从厌倦于追寻<br>
                        我已学会一觅即中<br>
                        自从一股逆风袭来<br>
                        我已能抵御八面来风<br>
                        驾舟而行<br>
                      --------------------------<br>
                        乾坤未定<br>
                        你我皆是黑马<br>
                       --------------------------<br>
                        Company is the longest confession of love


                    </p>

                </div>


            </div>
            <div class="four wide column">
                <div class="ui segments">
                    <div class="ui secondary segment">
                        <div class="ui two column grid">
                            <div class="column">

                                <i class="folder outline icon"></i>分类专栏
                            </div>
                            <div class="right aligned column">
                                <a href="#" th:href="@{types/-1}" target="_blank">更多>></a>
                            </div>
                        </div>
                    </div>
                    <div class="ui teal segment">
                        <div class="ui fluid vertical menu" >
                            <a href="#" th:href="@{/types/{id}(id=${type.id})}" target="_blank" class="item" th:each="type : ${types}">
                                <span th:text="${type.name}">学习日志</span>
                                <div class="ui teal left pointing label"th:text="${#arrays.length(type.blogs)}"> 11</div>
                            </a>
                            <!--/*-->
                            <a href="" class="item">
                                热爱oracle的杜子美
                                <div class="ui teal left pointing label">11</div>
                            </a>
                            <a href="" class="item">
                                热爱oracle的杜子美
                                <div class="ui teal left pointing label">11</div>
                            </a>
                            <a href="" class="item">
                                热爱oracle的杜子美
                                <div class="ui teal left pointing label">11</div>
                            </a>
                            <a href="" class="item">
                                热爱oracle的杜子美
                                <div class="ui teal left pointing label">11</div>
                            </a>
                            <a href="" class="item">
                                热爱oracle的杜子美
                                <div class="ui teal left pointing label">11</div>
                            </a>
                            <!--*/-->
                        </div>
                    </div>
                </div>
                <!--标签-->
                <div class="ui segments m-margin-top">

                    <div class="ui secondary segment">
                        <div class="ui two column grid">
                            <div class="column">

                                <i class="tags icon"></i>标签
                            </div>
                            <div class="right aligned column">
                                <a href="#" th:href="@{/tags/-1}" target="_blank">更多>></a>
                            </div>
                        </div>
                    </div>
                    <div class="ui teal segment">
                        <a href="#"  th:href="@{/tags/{id}(id=${tag.id})}" target="_blank" class="ui teal left pointing label m-margin" th:each="tag : ${tags}">
                            <span th:text="${tag.name}">方法论</span>

                            <div class="detail" th:text="${#arrays.length(tag.blogs)}">23</div>
                        </a>
                        <!--/*-->
                        <a href="#" class="ui teal left pointing label m-margin" >spring
                            <div class="detail">11</div> </a>
                        <a href="#" class="ui teal left pointing label m-margin">spring
                            <div class="detail">11</div> </a>
                        <a href="#" class="ui teal left pointing label m-margin">spring
                            <div class="detail">11</div> </a>
                        <a href="#" class="ui teal left pointing label m-margin">spring
                            <div class="detail">11</div> </a>
                        <a href="#" class="ui teal left pointing label m-margin">spring
                            <div class="detail">11</div> </a>
                        <a href="#" class="ui teal left pointing label m-margin">spring
                            <div class="detail">11</div> </a>
                        <a href="#" class="ui teal left pointing label m-margin">spring
                            <div class="detail">11</div> </a>
                        <a href="#" class="ui teal left pointing label m-margin">spring
                            <div class="detail">11</div> </a>
                        <!--*/-->
                    </div>
                </div>
                <!--最新推荐-->
                <div class="ui segments m-margin-top">
                    <div class="ui secondary segment">
                        <div class="ui two column grid">
                            <div class="column">

                                <i class="bookmark icon"></i>最新推荐
                            </div>
                            <div class="right aligned column">
                                <a href="" target="_blank">更多>></a>
                            </div>
                        </div>
                    </div>
                    <div class="ui segment " th:each="blog : ${recommendblogs}">
                        <a href="#" target="_blank"  th:href="@{/blog/{id}(id=${blog.id})}" class="m-black" th:text="${blog.title}">用户故事</a>
                    </div>
                    <!--/*-->
                    <div class="ui segment">
                        <a href="#" target="_blank">用户故事</a>
                    </div>
                    <div class="ui segment">
                        <a href="#" target="_blank">用户故事</a>
                    </div>
                    <div class="ui segment">
                        <a href="#" target="_blank">用户故事</a>
                    </div>
                    <div class="ui segment">
                        <a href="#" target="_blank">用户故事</a>
                    </div>
                    <div class="ui segment">
                        <a href="#" target="_blank">用户故事</a>
                    </div>
                    <div class="ui segment">
                        <a href="#" target="_blank">用户故事</a>
                    </div>
                    <div class="ui segment">
                        <a href="#" target="_blank">用户故事</a>
                    </div>
                    <!--*/-->
                </div>
                <!--二维码-->
                <div class="ui horizontal divider header m-margin-top">
                    加微信尬聊
                </div>
                <div class="ui  centered card"  style="width:10em">
                    <img src="../static/images/weixinaddfriend.png" th:src="@{/images/weixinaddfriend.png}" alt="" class="ui rounded image">
                </div>
            </div>


    </div>
            <!--右边占三列-->


        </div>
    </div>

</div>
<div  class="m-padding-big m-fixed m-right-top" >

    <div class="ui violet inverted segment m-text-fontstyle2"><a class="ui pink ribbon label">YAO</a>

        <div style="width: 6em" class="ui two column grid">
            <div class="column">
              <p>
                  愿<br>你<br>编<br>码<br>半<br>生

              </p>
            </div>
            <div class="column">
                <p>&nbsp;<br>&nbsp;<br> 归<br>来<br>仍<br>是<br>少<br>年</p>
            </div>
        </div>

    </div>
</div>
<!--底部-->
<footer th:replace="_fragments::footer" class="ui inverted vertical segment m-padded-tb-massive">
    <div id="weather-float-he"></div>
    <div class="ui center aligned container">
        <div class="ui inverted divided stackable grid">
            <div class="four wide column">
                <img src="../static/images/weixinaddfriend.png" th:src="@{/images/weixinaddfriend.png}" class="ui rounded image" alt="">
            </div>
            <div class="four wide column">
                <h4 class="ui inverted header">最新博客</h4>
                <div class="ui inverted link list">
                    <a href="" class="item">用户故事</a>
                    <a href="" class="item">用户故事</a>
                    <a href="" class="item">用户故事</a>
                </div>
            </div>
            <div class="four wide column">
                <h4 class="ui inverted header">最新博客</h4>
                <div class="ui inverted link list">
                    <a href="" class="item">用户故事</a>
                    <a href="" class="item">用户故事</a>
                    <a href="" class="item">用户故事</a>
                </div>
            </div>
            <div class="four wide column">
                <h4 class="ui inverted header">最新博客</h4>
                <div class="ui inverted link list">
                    <a href="" class="item">用户故事</a>
                    <a href="" class="item">用户故事</a>
                    <a href="" class="item">用户故事</a>
                </div>
            </div>
        </div>
        <div class="ui inverted section divider">

        </div>
        <p class="m-text-thin m-text-spaced">用户故事用户故事用户故事用户故事用户故事用户故事</p>
    </div>
</footer>

<!--/*/<th:block th:replace="_fragments::script">/*/-->

<!--/*/</th:block>/*/-->



<script>

    $('.menu.toggle').click(function () {

        $('.m-item').toggleClass('m-mobile-hidden');}
    );

</script>
<style type="text/css">
    .snow-container{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:100001;}
</style>

</body>
</html>